import axios from 'axios'
import { useEffect, useId } from 'react'
export default function App() {

    useEffect(() => {
        const getList = async () => {
            const { data } = await axios.post('http://api.oafdev.cn/website/resource/v1/list', { 
            "resourceType": 1,
            "limit": -1,
            "lc": "zh"
            })
            console.log(data.data);
        }
        getList()
    })
    const pass = useId()
    return (
        <>
            <div id={"pass"+pass}>1111</div>
            <div id={"pass" + pass}>2222</div>
            <div aria-describedby={pass}>3333</div>
        </>
    )
}

